//
//  URLSample.m
//  WeiYiMei
//
//  Created by iMac on 2019/8/27.
//  Copyright © 2019 liyefu. All rights reserved.
//

#import "URLSample.h"

@implementation URLSample

+ (void)sampleForUrl:(NSString *)urlString {
    
    [URLManager.shareManager getUrlStr:urlString parameters:nil success:^(NSURLResponse * _Nonnull response, id  _Nullable responseObj, NSDictionary * _Nullable otherResponse) {
        NSLog(@"成功：%@",responseObj);
    } failure:^(NSURLResponse * _Nullable response, NSError * _Nonnull error) {
        NSLog(@"失败：%@",error);
    }];
    
}

@end
